/**
* @file				LED.c
* @author  		Milinda Seneviratne
* @version 		1.0
* @date    		November 17th, 2014
* @brief   		Template LED indicator.
*/
/* Includes ------------------------------------------------------------------*/
#include <stdio.h>
#include "arduino.h"
#include <PushButton.h>

/* Private typedef -----------------------------------------------------------*/
typedef int bool;
#define true 1
#define false 0
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/


int getLEDstatus()
	{
		int pushButtonStatus = getPushButtonStatus();
		
		if (pushButtonStatus==1)
		{
			digitalWrite(5,HIGH);	//Pin B9
			return 1;
		}
		
//		else
//		{
//			digitalWrite(5,LOW);
//			return 0;
//		}
	}
		
